<!--{eval $i=0}-->{LF}
<!--{loop $_QUERY['cards'] $val}-->
<li>
<!--{eval $i++}-->
<a href="{$_modules[shop][url]}shop.php?shopid=$val[shopid]" title="$val[fulladdress]">$i.$val[fullname]</a>
<span class="discount">$val[membercard_msg]</strong>
</li>
<!--{/loop}-->